import {
	Tools
} from 'weaver-mobile';

export const save = (params = {}) => Tools.callApi({
	url: '/api/hrm/group/save',
	method: 'POST',
	params
});

export const getHrmGroupForm = (params = {}) => Tools.callApi({
	url: '/api/hrm/group/getHrmGroupForm',
	method: 'GET',
	params
});

export const getSearchResult = (params = {}) => Tools.callApi({
	url: '/api/hrm/group/getSearchResult',
	method: 'POST',
	params
});

export const getGroupSuggestForm = (params = {}) => Tools.callApi({
	url: '/api/hrm/group/getGroupSuggestForm',
	method: 'GET',
	params
});

export const del = (params = {}) => Tools.callApi({
	url: '/api/hrm/group/delete',
	method: 'POST',
	params
});

